﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AuctionModel
{
    public class Item
    {
        public int ID { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public double StartPrice { get; set; }
        public double EndPrice { get; set; }
        public DateTime StartDateTime { get; set; }
        public DateTime EndDateTime { get; set; }
        public bool Active { get; set; }


        public Item(int id, string title, string description, double startPrice, double endPrice, DateTime startDateTime, DateTime endDateTime, bool active)
        {
            ID = id;
            Title = title;
            Description = description;
            StartPrice = startPrice;
            EndPrice = endPrice;
            StartDateTime = startDateTime;
            EndDateTime = endDateTime;
            Active = active;
        }

        public Item()
        {
            
        }
    }
}
